
<!DOCTYPE html>
<html>
  <head>
  	<base href="http://redis.io/" />
    <meta charset='utf-8' />
    <link href='/styles.css?1426214481' rel='stylesheet' type='text/css' />
    <link href='/images/favicon.png' rel='shortcut icon' />
    <link href='/opensearch.xml' rel='search' title='Look up a Redis command' type='application/opensearchdescription+xml' />
    <meta content='width=device-width, minimum-scale=1.0, maximum-scale=1.0' name='viewport' />
    <title>
      Redis的命令参考
    </title>
    <script type='text/javascript'>
      //<![CDATA[
         var _gaq = _gaq || [];
         _gaq.push(['_setAccount', 'UA-20243082-1']);
         _gaq.push(['_trackPageview']);
        
         (function() {
           var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
           ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
           var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
         })();
      //]]>
    </script>
  </head>
  <body class=''>
    <div class='mobile-menu slideout-menu'>
      <header class='menu-header'></header>
      <section class='menu-section'>
        <ul class='menu-section-list'>
          <li>
            <a class='home' href='/'>Home</a>
          </li>
          <li>
            <a href='/commands'>Commands</a>
          </li>
          <li>
            <a href='/clients'>Clients</a>
          </li>
          <li>
            <a href='/documentation'>Documentation</a>
          </li>
          <li>
            <a href='/community'>Community</a>
          </li>
          <li>
            <a href='/download'>Download</a>
          </li>
          <li>
            <a href='/support'>Support</a>
          </li>
          <li>
            <a href='/topics/license'>License</a>
          </li>
        </ul>
      </section>
    </div>
    <div class='site-wrapper'>
      <header class='site-header'>
        <nav class='container'>
          <div class='mobile-header'>
            <button class='btn-hamburger js-slideout-toggle'>
              <span class='fa fa-bars'></span>
            </button>
            <a class='home' href='/'>
              <img alt='Redis' src='/images/redis-white.png' />
            </a>
          </div>
          <div class='desktop-header'>
            <a class='home' href='/'>
              <img alt='Redis' src='/images/redis-white.png' />
            </a>
            <a href='/commands'>Commands</a>
            <a href='/clients'>Clients</a>
            <a href='/documentation'>Documentation</a>
            <a href='/community'>Community</a>
            <a href='/download'>Download</a>
            <a href='/support'>Support</a>
            <a href='/topics/license'>License</a>
          </div>
        </nav>
      </header>
      <section id='commands'>
        <nav>
          <div class='container'>
            <label>
              <span>Filter by group:</span>
              <select class='command-reference-filter'>
                <option value=''>All</option>
                <option value='cluster'>Cluster</option>
                <option value='connection'>Connection</option>
                <option value='hash'>Hashes</option>
                <option value='hyperloglog'>HyperLogLog</option>
                <option value='generic'>Keys</option>
                <option value='list'>Lists</option>
                <option value='pubsub'>Pub/Sub</option>
                <option value='scripting'>Scripting</option>
                <option value='server'>Server</option>
                <option value='set'>Sets</option>
                <option value='sorted_set'>Sorted Sets</option>
                <option value='string'>Strings</option>
                <option value='transactions'>Transactions</option>
              </select>
            </label>
            or
            <label>
              <span>search for:</span>
              <input autofocus='autofocus' class='js-command-reference-search' placeholder='e.g. TTL' />
            </label>
          </div>
        </nav>
        <div class='container'>
          <ul>
            <li data-group='string' data-name='append'>
              <a href='/commands/append'>
                <span class='command'>
                  APPEND
                  <span class='args'>
                    key
                    value
                  </span>
                </span>
                <span class='summary'>在一个key后追加值</span>
              </a>
            </li>
            <li data-group='connection' data-name='auth'>
              <a href='/commands/auth'>
                <span class='command'>
                  AUTH
                  <span class='args'>
                    password
                  </span>
                </span>
                <span class='summary'>Authenticate to the server</span>
              </a>
            </li>
            <li data-group='server' data-name='bgrewriteaof'>
              <a href='/commands/bgrewriteaof'>
                <span class='command'>
                  BGREWRITEAOF
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Asynchronously rewrite the append-only file</span>
              </a>
            </li>
            <li data-group='server' data-name='bgsave'>
              <a href='/commands/bgsave'>
                <span class='command'>
                  BGSAVE
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Asynchronously save the dataset to disk</span>
              </a>
            </li>
            <li data-group='string' data-name='bitcount'>
              <a href='/commands/bitcount'>
                <span class='command'>
                  BITCOUNT
                  <span class='args'>
                    key
                    [start end]
                  </span>
                </span>
                <span class='summary'>Count set bits in a string</span>
              </a>
            </li>
            <li data-group='string' data-name='bitop'>
              <a href='/commands/bitop'>
                <span class='command'>
                  BITOP
                  <span class='args'>
                    operation
                    destkey
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Perform bitwise operations between strings</span>
              </a>
            </li>
            <li data-group='string' data-name='bitpos'>
              <a href='/commands/bitpos'>
                <span class='command'>
                  BITPOS
                  <span class='args'>
                    key
                    bit
                    [start]
                    [end]
                  </span>
                </span>
                <span class='summary'>Find first bit set or clear in a string</span>
              </a>
            </li>
            <li data-group='list' data-name='blpop'>
              <a href='/commands/blpop'>
                <span class='command'>
                  BLPOP
                  <span class='args'>
                    key [key ...]
                    timeout
                  </span>
                </span>
                <span class='summary'>Remove and get the first element in a list, or block until one is available</span>
              </a>
            </li>
            <li data-group='list' data-name='brpop'>
              <a href='/commands/brpop'>
                <span class='command'>
                  BRPOP
                  <span class='args'>
                    key [key ...]
                    timeout
                  </span>
                </span>
                <span class='summary'>Remove and get the last element in a list, or block until one is available</span>
              </a>
            </li>
            <li data-group='list' data-name='brpoplpush'>
              <a href='/commands/brpoplpush'>
                <span class='command'>
                  BRPOPLPUSH
                  <span class='args'>
                    source
                    destination
                    timeout
                  </span>
                </span>
                <span class='summary'>Pop a value from a list, push it to another list and return it; or block until one is available</span>
              </a>
            </li>
            <li data-group='server' data-name='client kill'>
              <a href='/commands/client-kill'>
                <span class='command'>
                  CLIENT KILL
                  <span class='args'>
                    [ip:port]
                    [ID client-id]
                    [TYPE normal|slave|pubsub]
                    [ADDR ip:port]
                    [SKIPME yes/no]
                  </span>
                </span>
                <span class='summary'>Kill the connection of a client</span>
              </a>
            </li>
            <li data-group='server' data-name='client list'>
              <a href='/commands/client-list'>
                <span class='command'>
                  CLIENT LIST
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get the list of client connections</span>
              </a>
            </li>
            <li data-group='server' data-name='client getname'>
              <a href='/commands/client-getname'>
                <span class='command'>
                  CLIENT GETNAME
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get the current connection name</span>
              </a>
            </li>
            <li data-group='server' data-name='client pause'>
              <a href='/commands/client-pause'>
                <span class='command'>
                  CLIENT PAUSE
                  <span class='args'>
                    timeout
                  </span>
                </span>
                <span class='summary'>Stop processing commands from clients for some time</span>
              </a>
            </li>
            <li data-group='server' data-name='client setname'>
              <a href='/commands/client-setname'>
                <span class='command'>
                  CLIENT SETNAME
                  <span class='args'>
                    connection-name
                  </span>
                </span>
                <span class='summary'>Set the current connection name</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster addslots'>
              <a href='/commands/cluster-addslots'>
                <span class='command'>
                  CLUSTER ADDSLOTS
                  <span class='args'>
                    slot [slot ...]
                  </span>
                </span>
                <span class='summary'>Assign new hash slots to receiving node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster count-failure-reports'>
              <a href='/commands/cluster-count-failure-reports'>
                <span class='command'>
                  CLUSTER COUNT-FAILURE-REPORTS
                  <span class='args'>
                    node-id
                  </span>
                </span>
                <span class='summary'>Return the number of failure reports active for a given node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster countkeysinslot'>
              <a href='/commands/cluster-countkeysinslot'>
                <span class='command'>
                  CLUSTER COUNTKEYSINSLOT
                  <span class='args'>
                    slot
                  </span>
                </span>
                <span class='summary'>Return the number of local keys in the specified hash slot</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster delslots'>
              <a href='/commands/cluster-delslots'>
                <span class='command'>
                  CLUSTER DELSLOTS
                  <span class='args'>
                    slot [slot ...]
                  </span>
                </span>
                <span class='summary'>Set hash slots as unbound in receiving node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster failover'>
              <a href='/commands/cluster-failover'>
                <span class='command'>
                  CLUSTER FAILOVER
                  <span class='args'>
                    [FORCE|TAKEOVER]
                  </span>
                </span>
                <span class='summary'>Forces a slave to perform a manual failover of its master.</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster forget'>
              <a href='/commands/cluster-forget'>
                <span class='command'>
                  CLUSTER FORGET
                  <span class='args'>
                    node-id
                  </span>
                </span>
                <span class='summary'>Remove a node from the nodes table</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster getkeysinslot'>
              <a href='/commands/cluster-getkeysinslot'>
                <span class='command'>
                  CLUSTER GETKEYSINSLOT
                  <span class='args'>
                    slot
                    count
                  </span>
                </span>
                <span class='summary'>Return local key names in the specified hash slot</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster info'>
              <a href='/commands/cluster-info'>
                <span class='command'>
                  CLUSTER INFO
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Provides info about Redis Cluster node state</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster keyslot'>
              <a href='/commands/cluster-keyslot'>
                <span class='command'>
                  CLUSTER KEYSLOT
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Returns the hash slot of the specified key</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster meet'>
              <a href='/commands/cluster-meet'>
                <span class='command'>
                  CLUSTER MEET
                  <span class='args'>
                    ip
                    port
                  </span>
                </span>
                <span class='summary'>Force a node cluster to handshake with another node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster nodes'>
              <a href='/commands/cluster-nodes'>
                <span class='command'>
                  CLUSTER NODES
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get Cluster config for the node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster replicate'>
              <a href='/commands/cluster-replicate'>
                <span class='command'>
                  CLUSTER REPLICATE
                  <span class='args'>
                    node-id
                  </span>
                </span>
                <span class='summary'>Reconfigure a node as a slave of the specified master node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster reset'>
              <a href='/commands/cluster-reset'>
                <span class='command'>
                  CLUSTER RESET
                  <span class='args'>
                    [HARD|SOFT]
                  </span>
                </span>
                <span class='summary'>Reset a Redis Cluster node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster saveconfig'>
              <a href='/commands/cluster-saveconfig'>
                <span class='command'>
                  CLUSTER SAVECONFIG
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Forces the node to save cluster state on disk</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster set-config-epoch'>
              <a href='/commands/cluster-set-config-epoch'>
                <span class='command'>
                  CLUSTER SET-CONFIG-EPOCH
                  <span class='args'>
                    config-epoch
                  </span>
                </span>
                <span class='summary'>Set the configuration epoch in a new node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster setslot'>
              <a href='/commands/cluster-setslot'>
                <span class='command'>
                  CLUSTER SETSLOT
                  <span class='args'>
                    slot
                    IMPORTING|MIGRATING|STABLE|NODE
                    [node-id]
                  </span>
                </span>
                <span class='summary'>Bind an hash slot to a specific node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster slaves'>
              <a href='/commands/cluster-slaves'>
                <span class='command'>
                  CLUSTER SLAVES
                  <span class='args'>
                    node-id
                  </span>
                </span>
                <span class='summary'>List slave nodes of the specified master node</span>
              </a>
            </li>
            <li data-group='cluster' data-name='cluster slots'>
              <a href='/commands/cluster-slots'>
                <span class='command'>
                  CLUSTER SLOTS
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get array of Cluster slot to node mappings</span>
              </a>
            </li>
            <li data-group='server' data-name='command'>
              <a href='/commands/command'>
                <span class='command'>
                  COMMAND
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get array of Redis command details</span>
              </a>
            </li>
            <li data-group='server' data-name='command count'>
              <a href='/commands/command-count'>
                <span class='command'>
                  COMMAND COUNT
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get total number of Redis commands</span>
              </a>
            </li>
            <li data-group='server' data-name='command getkeys'>
              <a href='/commands/command-getkeys'>
                <span class='command'>
                  COMMAND GETKEYS
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Extract keys given a full Redis command</span>
              </a>
            </li>
            <li data-group='server' data-name='command info'>
              <a href='/commands/command-info'>
                <span class='command'>
                  COMMAND INFO
                  <span class='args'>
                    command-name [command-name ...]
                  </span>
                </span>
                <span class='summary'>Get array of specific Redis command details</span>
              </a>
            </li>
            <li data-group='server' data-name='config get'>
              <a href='/commands/config-get'>
                <span class='command'>
                  CONFIG GET
                  <span class='args'>
                    parameter
                  </span>
                </span>
                <span class='summary'>Get the value of a configuration parameter</span>
              </a>
            </li>
            <li data-group='server' data-name='config rewrite'>
              <a href='/commands/config-rewrite'>
                <span class='command'>
                  CONFIG REWRITE
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Rewrite the configuration file with the in memory configuration</span>
              </a>
            </li>
            <li data-group='server' data-name='config set'>
              <a href='/commands/config-set'>
                <span class='command'>
                  CONFIG SET
                  <span class='args'>
                    parameter
                    value
                  </span>
                </span>
                <span class='summary'>Set a configuration parameter to the given value</span>
              </a>
            </li>
            <li data-group='server' data-name='config resetstat'>
              <a href='/commands/config-resetstat'>
                <span class='command'>
                  CONFIG RESETSTAT
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Reset the stats returned by INFO</span>
              </a>
            </li>
            <li data-group='server' data-name='dbsize'>
              <a href='/commands/dbsize'>
                <span class='command'>
                  DBSIZE
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Return the number of keys in the selected database</span>
              </a>
            </li>
            <li data-group='server' data-name='debug object'>
              <a href='/commands/debug-object'>
                <span class='command'>
                  DEBUG OBJECT
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get debugging information about a key</span>
              </a>
            </li>
            <li data-group='server' data-name='debug segfault'>
              <a href='/commands/debug-segfault'>
                <span class='command'>
                  DEBUG SEGFAULT
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Make the server crash</span>
              </a>
            </li>
            <li data-group='string' data-name='decr'>
              <a href='/commands/decr'>
                <span class='command'>
                  DECR
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Decrement the integer value of a key by one</span>
              </a>
            </li>
            <li data-group='string' data-name='decrby'>
              <a href='/commands/decrby'>
                <span class='command'>
                  DECRBY
                  <span class='args'>
                    key
                    decrement
                  </span>
                </span>
                <span class='summary'>Decrement the integer value of a key by the given number</span>
              </a>
            </li>
            <li data-group='generic' data-name='del'>
              <a href='/commands/del'>
                <span class='command'>
                  DEL
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Delete a key</span>
              </a>
            </li>
            <li data-group='transactions' data-name='discard'>
              <a href='/commands/discard'>
                <span class='command'>
                  DISCARD
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Discard all commands issued after MULTI</span>
              </a>
            </li>
            <li data-group='generic' data-name='dump'>
              <a href='/commands/dump'>
                <span class='command'>
                  DUMP
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Return a serialized version of the value stored at the specified key.</span>
              </a>
            </li>
            <li data-group='connection' data-name='echo'>
              <a href='/commands/echo'>
                <span class='command'>
                  ECHO
                  <span class='args'>
                    message
                  </span>
                </span>
                <span class='summary'>Echo the given string</span>
              </a>
            </li>
            <li data-group='scripting' data-name='eval'>
              <a href='/commands/eval'>
                <span class='command'>
                  EVAL
                  <span class='args'>
                    script
                    numkeys
                    key [key ...]
                    arg [arg ...]
                  </span>
                </span>
                <span class='summary'>Execute a Lua script server side</span>
              </a>
            </li>
            <li data-group='scripting' data-name='evalsha'>
              <a href='/commands/evalsha'>
                <span class='command'>
                  EVALSHA
                  <span class='args'>
                    sha1
                    numkeys
                    key [key ...]
                    arg [arg ...]
                  </span>
                </span>
                <span class='summary'>Execute a Lua script server side</span>
              </a>
            </li>
            <li data-group='transactions' data-name='exec'>
              <a href='/commands/exec'>
                <span class='command'>
                  EXEC
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Execute all commands issued after MULTI</span>
              </a>
            </li>
            <li data-group='generic' data-name='exists'>
              <a href='/commands/exists'>
                <span class='command'>
                  EXISTS
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Determine if a key exists</span>
              </a>
            </li>
            <li data-group='generic' data-name='expire'>
              <a href='/commands/expire'>
                <span class='command'>
                  EXPIRE
                  <span class='args'>
                    key
                    seconds
                  </span>
                </span>
                <span class='summary'>Set a key's time to live in seconds</span>
              </a>
            </li>
            <li data-group='generic' data-name='expireat'>
              <a href='/commands/expireat'>
                <span class='command'>
                  EXPIREAT
                  <span class='args'>
                    key
                    timestamp
                  </span>
                </span>
                <span class='summary'>Set the expiration for a key as a UNIX timestamp</span>
              </a>
            </li>
            <li data-group='server' data-name='flushall'>
              <a href='/commands/flushall'>
                <span class='command'>
                  FLUSHALL
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Remove all keys from all databases</span>
              </a>
            </li>
            <li data-group='server' data-name='flushdb'>
              <a href='/commands/flushdb'>
                <span class='command'>
                  FLUSHDB
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Remove all keys from the current database</span>
              </a>
            </li>
            <li data-group='string' data-name='get'>
              <a href='/commands/get'>
                <span class='command'>
                  GET
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the value of a key</span>
              </a>
            </li>
            <li data-group='string' data-name='getbit'>
              <a href='/commands/getbit'>
                <span class='command'>
                  GETBIT
                  <span class='args'>
                    key
                    offset
                  </span>
                </span>
                <span class='summary'>Returns the bit value at offset in the string value stored at key</span>
              </a>
            </li>
            <li data-group='string' data-name='getrange'>
              <a href='/commands/getrange'>
                <span class='command'>
                  GETRANGE
                  <span class='args'>
                    key
                    start
                    end
                  </span>
                </span>
                <span class='summary'>Get a substring of the string stored at a key</span>
              </a>
            </li>
            <li data-group='string' data-name='getset'>
              <a href='/commands/getset'>
                <span class='command'>
                  GETSET
                  <span class='args'>
                    key
                    value
                  </span>
                </span>
                <span class='summary'>Set the string value of a key and return its old value</span>
              </a>
            </li>
            <li data-group='hash' data-name='hdel'>
              <a href='/commands/hdel'>
                <span class='command'>
                  HDEL
                  <span class='args'>
                    key
                    field [field ...]
                  </span>
                </span>
                <span class='summary'>Delete one or more hash fields</span>
              </a>
            </li>
            <li data-group='hash' data-name='hexists'>
              <a href='/commands/hexists'>
                <span class='command'>
                  HEXISTS
                  <span class='args'>
                    key
                    field
                  </span>
                </span>
                <span class='summary'>Determine if a hash field exists</span>
              </a>
            </li>
            <li data-group='hash' data-name='hget'>
              <a href='/commands/hget'>
                <span class='command'>
                  HGET
                  <span class='args'>
                    key
                    field
                  </span>
                </span>
                <span class='summary'>Get the value of a hash field</span>
              </a>
            </li>
            <li data-group='hash' data-name='hgetall'>
              <a href='/commands/hgetall'>
                <span class='command'>
                  HGETALL
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get all the fields and values in a hash</span>
              </a>
            </li>
            <li data-group='hash' data-name='hincrby'>
              <a href='/commands/hincrby'>
                <span class='command'>
                  HINCRBY
                  <span class='args'>
                    key
                    field
                    increment
                  </span>
                </span>
                <span class='summary'>Increment the integer value of a hash field by the given number</span>
              </a>
            </li>
            <li data-group='hash' data-name='hincrbyfloat'>
              <a href='/commands/hincrbyfloat'>
                <span class='command'>
                  HINCRBYFLOAT
                  <span class='args'>
                    key
                    field
                    increment
                  </span>
                </span>
                <span class='summary'>Increment the float value of a hash field by the given amount</span>
              </a>
            </li>
            <li data-group='hash' data-name='hkeys'>
              <a href='/commands/hkeys'>
                <span class='command'>
                  HKEYS
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get all the fields in a hash</span>
              </a>
            </li>
            <li data-group='hash' data-name='hlen'>
              <a href='/commands/hlen'>
                <span class='command'>
                  HLEN
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the number of fields in a hash</span>
              </a>
            </li>
            <li data-group='hash' data-name='hmget'>
              <a href='/commands/hmget'>
                <span class='command'>
                  HMGET
                  <span class='args'>
                    key
                    field [field ...]
                  </span>
                </span>
                <span class='summary'>Get the values of all the given hash fields</span>
              </a>
            </li>
            <li data-group='hash' data-name='hmset'>
              <a href='/commands/hmset'>
                <span class='command'>
                  HMSET
                  <span class='args'>
                    key
                    field value [field value ...]
                  </span>
                </span>
                <span class='summary'>Set multiple hash fields to multiple values</span>
              </a>
            </li>
            <li data-group='hash' data-name='hset'>
              <a href='/commands/hset'>
                <span class='command'>
                  HSET
                  <span class='args'>
                    key
                    field
                    value
                  </span>
                </span>
                <span class='summary'>Set the string value of a hash field</span>
              </a>
            </li>
            <li data-group='hash' data-name='hsetnx'>
              <a href='/commands/hsetnx'>
                <span class='command'>
                  HSETNX
                  <span class='args'>
                    key
                    field
                    value
                  </span>
                </span>
                <span class='summary'>Set the value of a hash field, only if the field does not exist</span>
              </a>
            </li>
            <li data-group='hash' data-name='hstrlen'>
              <a href='/commands/hstrlen'>
                <span class='command'>
                  HSTRLEN
                  <span class='args'>
                    key
                    field
                  </span>
                </span>
                <span class='summary'>Get the length of the value of a hash field</span>
              </a>
            </li>
            <li data-group='hash' data-name='hvals'>
              <a href='/commands/hvals'>
                <span class='command'>
                  HVALS
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get all the values in a hash</span>
              </a>
            </li>
            <li data-group='string' data-name='incr'>
              <a href='/commands/incr'>
                <span class='command'>
                  INCR
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Increment the integer value of a key by one</span>
              </a>
            </li>
            <li data-group='string' data-name='incrby'>
              <a href='/commands/incrby'>
                <span class='command'>
                  INCRBY
                  <span class='args'>
                    key
                    increment
                  </span>
                </span>
                <span class='summary'>Increment the integer value of a key by the given amount</span>
              </a>
            </li>
            <li data-group='string' data-name='incrbyfloat'>
              <a href='/commands/incrbyfloat'>
                <span class='command'>
                  INCRBYFLOAT
                  <span class='args'>
                    key
                    increment
                  </span>
                </span>
                <span class='summary'>Increment the float value of a key by the given amount</span>
              </a>
            </li>
            <li data-group='server' data-name='info'>
              <a href='/commands/info'>
                <span class='command'>
                  INFO
                  <span class='args'>
                    [section]
                  </span>
                </span>
                <span class='summary'>Get information and statistics about the server</span>
              </a>
            </li>
            <li data-group='generic' data-name='keys'>
              <a href='/commands/keys'>
                <span class='command'>
                  KEYS
                  <span class='args'>
                    pattern
                  </span>
                </span>
                <span class='summary'>Find all keys matching the given pattern</span>
              </a>
            </li>
            <li data-group='server' data-name='lastsave'>
              <a href='/commands/lastsave'>
                <span class='command'>
                  LASTSAVE
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Get the UNIX time stamp of the last successful save to disk</span>
              </a>
            </li>
            <li data-group='list' data-name='lindex'>
              <a href='/commands/lindex'>
                <span class='command'>
                  LINDEX
                  <span class='args'>
                    key
                    index
                  </span>
                </span>
                <span class='summary'>Get an element from a list by its index</span>
              </a>
            </li>
            <li data-group='list' data-name='linsert'>
              <a href='/commands/linsert'>
                <span class='command'>
                  LINSERT
                  <span class='args'>
                    key
                    BEFORE|AFTER
                    pivot
                    value
                  </span>
                </span>
                <span class='summary'>Insert an element before or after another element in a list</span>
              </a>
            </li>
            <li data-group='list' data-name='llen'>
              <a href='/commands/llen'>
                <span class='command'>
                  LLEN
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the length of a list</span>
              </a>
            </li>
            <li data-group='list' data-name='lpop'>
              <a href='/commands/lpop'>
                <span class='command'>
                  LPOP
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Remove and get the first element in a list</span>
              </a>
            </li>
            <li data-group='list' data-name='lpush'>
              <a href='/commands/lpush'>
                <span class='command'>
                  LPUSH
                  <span class='args'>
                    key
                    value [value ...]
                  </span>
                </span>
                <span class='summary'>Prepend one or multiple values to a list</span>
              </a>
            </li>
            <li data-group='list' data-name='lpushx'>
              <a href='/commands/lpushx'>
                <span class='command'>
                  LPUSHX
                  <span class='args'>
                    key
                    value
                  </span>
                </span>
                <span class='summary'>Prepend a value to a list, only if the list exists</span>
              </a>
            </li>
            <li data-group='list' data-name='lrange'>
              <a href='/commands/lrange'>
                <span class='command'>
                  LRANGE
                  <span class='args'>
                    key
                    start
                    stop
                  </span>
                </span>
                <span class='summary'>Get a range of elements from a list</span>
              </a>
            </li>
            <li data-group='list' data-name='lrem'>
              <a href='/commands/lrem'>
                <span class='command'>
                  LREM
                  <span class='args'>
                    key
                    count
                    value
                  </span>
                </span>
                <span class='summary'>Remove elements from a list</span>
              </a>
            </li>
            <li data-group='list' data-name='lset'>
              <a href='/commands/lset'>
                <span class='command'>
                  LSET
                  <span class='args'>
                    key
                    index
                    value
                  </span>
                </span>
                <span class='summary'>Set the value of an element in a list by its index</span>
              </a>
            </li>
            <li data-group='list' data-name='ltrim'>
              <a href='/commands/ltrim'>
                <span class='command'>
                  LTRIM
                  <span class='args'>
                    key
                    start
                    stop
                  </span>
                </span>
                <span class='summary'>Trim a list to the specified range</span>
              </a>
            </li>
            <li data-group='string' data-name='mget'>
              <a href='/commands/mget'>
                <span class='command'>
                  MGET
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Get the values of all the given keys</span>
              </a>
            </li>
            <li data-group='generic' data-name='migrate'>
              <a href='/commands/migrate'>
                <span class='command'>
                  MIGRATE
                  <span class='args'>
                    host
                    port
                    key
                    destination-db
                    timeout
                    [COPY]
                    [REPLACE]
                  </span>
                </span>
                <span class='summary'>Atomically transfer a key from a Redis instance to another one.</span>
              </a>
            </li>
            <li data-group='server' data-name='monitor'>
              <a href='/commands/monitor'>
                <span class='command'>
                  MONITOR
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Listen for all requests received by the server in real time</span>
              </a>
            </li>
            <li data-group='generic' data-name='move'>
              <a href='/commands/move'>
                <span class='command'>
                  MOVE
                  <span class='args'>
                    key
                    db
                  </span>
                </span>
                <span class='summary'>Move a key to another database</span>
              </a>
            </li>
            <li data-group='string' data-name='mset'>
              <a href='/commands/mset'>
                <span class='command'>
                  MSET
                  <span class='args'>
                    key value [key value ...]
                  </span>
                </span>
                <span class='summary'>Set multiple keys to multiple values</span>
              </a>
            </li>
            <li data-group='string' data-name='msetnx'>
              <a href='/commands/msetnx'>
                <span class='command'>
                  MSETNX
                  <span class='args'>
                    key value [key value ...]
                  </span>
                </span>
                <span class='summary'>Set multiple keys to multiple values, only if none of the keys exist</span>
              </a>
            </li>
            <li data-group='transactions' data-name='multi'>
              <a href='/commands/multi'>
                <span class='command'>
                  MULTI
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Mark the start of a transaction block</span>
              </a>
            </li>
            <li data-group='generic' data-name='object'>
              <a href='/commands/object'>
                <span class='command'>
                  OBJECT
                  <span class='args'>
                    subcommand
                    [arguments [arguments ...]]
                  </span>
                </span>
                <span class='summary'>Inspect the internals of Redis objects</span>
              </a>
            </li>
            <li data-group='generic' data-name='persist'>
              <a href='/commands/persist'>
                <span class='command'>
                  PERSIST
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Remove the expiration from a key</span>
              </a>
            </li>
            <li data-group='generic' data-name='pexpire'>
              <a href='/commands/pexpire'>
                <span class='command'>
                  PEXPIRE
                  <span class='args'>
                    key
                    milliseconds
                  </span>
                </span>
                <span class='summary'>Set a key's time to live in milliseconds</span>
              </a>
            </li>
            <li data-group='generic' data-name='pexpireat'>
              <a href='/commands/pexpireat'>
                <span class='command'>
                  PEXPIREAT
                  <span class='args'>
                    key
                    milliseconds-timestamp
                  </span>
                </span>
                <span class='summary'>Set the expiration for a key as a UNIX timestamp specified in milliseconds</span>
              </a>
            </li>
            <li data-group='hyperloglog' data-name='pfadd'>
              <a href='/commands/pfadd'>
                <span class='command'>
                  PFADD
                  <span class='args'>
                    key
                    element [element ...]
                  </span>
                </span>
                <span class='summary'>Adds the specified elements to the specified HyperLogLog.</span>
              </a>
            </li>
            <li data-group='hyperloglog' data-name='pfcount'>
              <a href='/commands/pfcount'>
                <span class='command'>
                  PFCOUNT
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Return the approximated cardinality of the set(s) observed by the HyperLogLog at key(s).</span>
              </a>
            </li>
            <li data-group='hyperloglog' data-name='pfmerge'>
              <a href='/commands/pfmerge'>
                <span class='command'>
                  PFMERGE
                  <span class='args'>
                    destkey
                    sourcekey [sourcekey ...]
                  </span>
                </span>
                <span class='summary'>Merge N different HyperLogLogs into a single one.</span>
              </a>
            </li>
            <li data-group='connection' data-name='ping'>
              <a href='/commands/ping'>
                <span class='command'>
                  PING
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Ping the server</span>
              </a>
            </li>
            <li data-group='string' data-name='psetex'>
              <a href='/commands/psetex'>
                <span class='command'>
                  PSETEX
                  <span class='args'>
                    key
                    milliseconds
                    value
                  </span>
                </span>
                <span class='summary'>Set the value and expiration in milliseconds of a key</span>
              </a>
            </li>
            <li data-group='pubsub' data-name='psubscribe'>
              <a href='/commands/psubscribe'>
                <span class='command'>
                  PSUBSCRIBE
                  <span class='args'>
                    pattern [pattern ...]
                  </span>
                </span>
                <span class='summary'>Listen for messages published to channels matching the given patterns</span>
              </a>
            </li>
            <li data-group='pubsub' data-name='pubsub'>
              <a href='/commands/pubsub'>
                <span class='command'>
                  PUBSUB
                  <span class='args'>
                    subcommand
                    [argument [argument ...]]
                  </span>
                </span>
                <span class='summary'>Inspect the state of the Pub/Sub subsystem</span>
              </a>
            </li>
            <li data-group='generic' data-name='pttl'>
              <a href='/commands/pttl'>
                <span class='command'>
                  PTTL
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the time to live for a key in milliseconds</span>
              </a>
            </li>
            <li data-group='pubsub' data-name='publish'>
              <a href='/commands/publish'>
                <span class='command'>
                  PUBLISH
                  <span class='args'>
                    channel
                    message
                  </span>
                </span>
                <span class='summary'>Post a message to a channel</span>
              </a>
            </li>
            <li data-group='pubsub' data-name='punsubscribe'>
              <a href='/commands/punsubscribe'>
                <span class='command'>
                  PUNSUBSCRIBE
                  <span class='args'>
                    [pattern [pattern ...]]
                  </span>
                </span>
                <span class='summary'>Stop listening for messages posted to channels matching the given patterns</span>
              </a>
            </li>
            <li data-group='connection' data-name='quit'>
              <a href='/commands/quit'>
                <span class='command'>
                  QUIT
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Close the connection</span>
              </a>
            </li>
            <li data-group='generic' data-name='randomkey'>
              <a href='/commands/randomkey'>
                <span class='command'>
                  RANDOMKEY
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Return a random key from the keyspace</span>
              </a>
            </li>
            <li data-group='generic' data-name='rename'>
              <a href='/commands/rename'>
                <span class='command'>
                  RENAME
                  <span class='args'>
                    key
                    newkey
                  </span>
                </span>
                <span class='summary'>Rename a key</span>
              </a>
            </li>
            <li data-group='generic' data-name='renamenx'>
              <a href='/commands/renamenx'>
                <span class='command'>
                  RENAMENX
                  <span class='args'>
                    key
                    newkey
                  </span>
                </span>
                <span class='summary'>Rename a key, only if the new key does not exist</span>
              </a>
            </li>
            <li data-group='generic' data-name='restore'>
              <a href='/commands/restore'>
                <span class='command'>
                  RESTORE
                  <span class='args'>
                    key
                    ttl
                    serialized-value
                    [REPLACE]
                  </span>
                </span>
                <span class='summary'>Create a key using the provided serialized value, previously obtained using DUMP.</span>
              </a>
            </li>
            <li data-group='server' data-name='role'>
              <a href='/commands/role'>
                <span class='command'>
                  ROLE
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Return the role of the instance in the context of replication</span>
              </a>
            </li>
            <li data-group='list' data-name='rpop'>
              <a href='/commands/rpop'>
                <span class='command'>
                  RPOP
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Remove and get the last element in a list</span>
              </a>
            </li>
            <li data-group='list' data-name='rpoplpush'>
              <a href='/commands/rpoplpush'>
                <span class='command'>
                  RPOPLPUSH
                  <span class='args'>
                    source
                    destination
                  </span>
                </span>
                <span class='summary'>Remove the last element in a list, prepend it to another list and return it</span>
              </a>
            </li>
            <li data-group='list' data-name='rpush'>
              <a href='/commands/rpush'>
                <span class='command'>
                  RPUSH
                  <span class='args'>
                    key
                    value [value ...]
                  </span>
                </span>
                <span class='summary'>Append one or multiple values to a list</span>
              </a>
            </li>
            <li data-group='list' data-name='rpushx'>
              <a href='/commands/rpushx'>
                <span class='command'>
                  RPUSHX
                  <span class='args'>
                    key
                    value
                  </span>
                </span>
                <span class='summary'>Append a value to a list, only if the list exists</span>
              </a>
            </li>
            <li data-group='set' data-name='sadd'>
              <a href='/commands/sadd'>
                <span class='command'>
                  SADD
                  <span class='args'>
                    key
                    member [member ...]
                  </span>
                </span>
                <span class='summary'>Add one or more members to a set</span>
              </a>
            </li>
            <li data-group='server' data-name='save'>
              <a href='/commands/save'>
                <span class='command'>
                  SAVE
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Synchronously save the dataset to disk</span>
              </a>
            </li>
            <li data-group='set' data-name='scard'>
              <a href='/commands/scard'>
                <span class='command'>
                  SCARD
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the number of members in a set</span>
              </a>
            </li>
            <li data-group='scripting' data-name='script exists'>
              <a href='/commands/script-exists'>
                <span class='command'>
                  SCRIPT EXISTS
                  <span class='args'>
                    script [script ...]
                  </span>
                </span>
                <span class='summary'>Check existence of scripts in the script cache.</span>
              </a>
            </li>
            <li data-group='scripting' data-name='script flush'>
              <a href='/commands/script-flush'>
                <span class='command'>
                  SCRIPT FLUSH
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Remove all the scripts from the script cache.</span>
              </a>
            </li>
            <li data-group='scripting' data-name='script kill'>
              <a href='/commands/script-kill'>
                <span class='command'>
                  SCRIPT KILL
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Kill the script currently in execution.</span>
              </a>
            </li>
            <li data-group='scripting' data-name='script load'>
              <a href='/commands/script-load'>
                <span class='command'>
                  SCRIPT LOAD
                  <span class='args'>
                    script
                  </span>
                </span>
                <span class='summary'>Load the specified Lua script into the script cache.</span>
              </a>
            </li>
            <li data-group='set' data-name='sdiff'>
              <a href='/commands/sdiff'>
                <span class='command'>
                  SDIFF
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Subtract multiple sets</span>
              </a>
            </li>
            <li data-group='set' data-name='sdiffstore'>
              <a href='/commands/sdiffstore'>
                <span class='command'>
                  SDIFFSTORE
                  <span class='args'>
                    destination
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Subtract multiple sets and store the resulting set in a key</span>
              </a>
            </li>
            <li data-group='connection' data-name='select'>
              <a href='/commands/select'>
                <span class='command'>
                  SELECT
                  <span class='args'>
                    index
                  </span>
                </span>
                <span class='summary'>Change the selected database for the current connection</span>
              </a>
            </li>
            <li data-group='string' data-name='set'>
              <a href='/commands/set'>
                <span class='command'>
                  SET
                  <span class='args'>
                    key
                    value
                    [EX seconds]
                    [PX milliseconds]
                    [NX|XX]
                  </span>
                </span>
                <span class='summary'>Set the string value of a key</span>
              </a>
            </li>
            <li data-group='string' data-name='setbit'>
              <a href='/commands/setbit'>
                <span class='command'>
                  SETBIT
                  <span class='args'>
                    key
                    offset
                    value
                  </span>
                </span>
                <span class='summary'>Sets or clears the bit at offset in the string value stored at key</span>
              </a>
            </li>
            <li data-group='string' data-name='setex'>
              <a href='/commands/setex'>
                <span class='command'>
                  SETEX
                  <span class='args'>
                    key
                    seconds
                    value
                  </span>
                </span>
                <span class='summary'>Set the value and expiration of a key</span>
              </a>
            </li>
            <li data-group='string' data-name='setnx'>
              <a href='/commands/setnx'>
                <span class='command'>
                  SETNX
                  <span class='args'>
                    key
                    value
                  </span>
                </span>
                <span class='summary'>Set the value of a key, only if the key does not exist</span>
              </a>
            </li>
            <li data-group='string' data-name='setrange'>
              <a href='/commands/setrange'>
                <span class='command'>
                  SETRANGE
                  <span class='args'>
                    key
                    offset
                    value
                  </span>
                </span>
                <span class='summary'>Overwrite part of a string at key starting at the specified offset</span>
              </a>
            </li>
            <li data-group='server' data-name='shutdown'>
              <a href='/commands/shutdown'>
                <span class='command'>
                  SHUTDOWN
                  <span class='args'>
                    [NOSAVE]
                    [SAVE]
                  </span>
                </span>
                <span class='summary'>Synchronously save the dataset to disk and then shut down the server</span>
              </a>
            </li>
            <li data-group='set' data-name='sinter'>
              <a href='/commands/sinter'>
                <span class='command'>
                  SINTER
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Intersect multiple sets</span>
              </a>
            </li>
            <li data-group='set' data-name='sinterstore'>
              <a href='/commands/sinterstore'>
                <span class='command'>
                  SINTERSTORE
                  <span class='args'>
                    destination
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Intersect multiple sets and store the resulting set in a key</span>
              </a>
            </li>
            <li data-group='set' data-name='sismember'>
              <a href='/commands/sismember'>
                <span class='command'>
                  SISMEMBER
                  <span class='args'>
                    key
                    member
                  </span>
                </span>
                <span class='summary'>Determine if a given value is a member of a set</span>
              </a>
            </li>
            <li data-group='server' data-name='slaveof'>
              <a href='/commands/slaveof'>
                <span class='command'>
                  SLAVEOF
                  <span class='args'>
                    host
                    port
                  </span>
                </span>
                <span class='summary'>Make the server a slave of another instance, or promote it as master</span>
              </a>
            </li>
            <li data-group='server' data-name='slowlog'>
              <a href='/commands/slowlog'>
                <span class='command'>
                  SLOWLOG
                  <span class='args'>
                    subcommand
                    [argument]
                  </span>
                </span>
                <span class='summary'>Manages the Redis slow queries log</span>
              </a>
            </li>
            <li data-group='set' data-name='smembers'>
              <a href='/commands/smembers'>
                <span class='command'>
                  SMEMBERS
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get all the members in a set</span>
              </a>
            </li>
            <li data-group='set' data-name='smove'>
              <a href='/commands/smove'>
                <span class='command'>
                  SMOVE
                  <span class='args'>
                    source
                    destination
                    member
                  </span>
                </span>
                <span class='summary'>Move a member from one set to another</span>
              </a>
            </li>
            <li data-group='generic' data-name='sort'>
              <a href='/commands/sort'>
                <span class='command'>
                  SORT
                  <span class='args'>
                    key
                    [BY pattern]
                    [LIMIT offset count]
                    [GET pattern [GET pattern ...]]
                    [ASC|DESC]
                    [ALPHA]
                    [STORE destination]
                  </span>
                </span>
                <span class='summary'>Sort the elements in a list, set or sorted set</span>
              </a>
            </li>
            <li data-group='set' data-name='spop'>
              <a href='/commands/spop'>
                <span class='command'>
                  SPOP
                  <span class='args'>
                    key
                    [count]
                  </span>
                </span>
                <span class='summary'>Remove and return one or multiple random members from a set</span>
              </a>
            </li>
            <li data-group='set' data-name='srandmember'>
              <a href='/commands/srandmember'>
                <span class='command'>
                  SRANDMEMBER
                  <span class='args'>
                    key
                    [count]
                  </span>
                </span>
                <span class='summary'>Get one or multiple random members from a set</span>
              </a>
            </li>
            <li data-group='set' data-name='srem'>
              <a href='/commands/srem'>
                <span class='command'>
                  SREM
                  <span class='args'>
                    key
                    member [member ...]
                  </span>
                </span>
                <span class='summary'>Remove one or more members from a set</span>
              </a>
            </li>
            <li data-group='string' data-name='strlen'>
              <a href='/commands/strlen'>
                <span class='command'>
                  STRLEN
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the length of the value stored in a key</span>
              </a>
            </li>
            <li data-group='pubsub' data-name='subscribe'>
              <a href='/commands/subscribe'>
                <span class='command'>
                  SUBSCRIBE
                  <span class='args'>
                    channel [channel ...]
                  </span>
                </span>
                <span class='summary'>Listen for messages published to the given channels</span>
              </a>
            </li>
            <li data-group='set' data-name='sunion'>
              <a href='/commands/sunion'>
                <span class='command'>
                  SUNION
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Add multiple sets</span>
              </a>
            </li>
            <li data-group='set' data-name='sunionstore'>
              <a href='/commands/sunionstore'>
                <span class='command'>
                  SUNIONSTORE
                  <span class='args'>
                    destination
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Add multiple sets and store the resulting set in a key</span>
              </a>
            </li>
            <li data-group='server' data-name='sync'>
              <a href='/commands/sync'>
                <span class='command'>
                  SYNC
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Internal command used for replication</span>
              </a>
            </li>
            <li data-group='server' data-name='time'>
              <a href='/commands/time'>
                <span class='command'>
                  TIME
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Return the current server time</span>
              </a>
            </li>
            <li data-group='generic' data-name='ttl'>
              <a href='/commands/ttl'>
                <span class='command'>
                  TTL
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the time to live for a key</span>
              </a>
            </li>
            <li data-group='generic' data-name='type'>
              <a href='/commands/type'>
                <span class='command'>
                  TYPE
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Determine the type stored at key</span>
              </a>
            </li>
            <li data-group='pubsub' data-name='unsubscribe'>
              <a href='/commands/unsubscribe'>
                <span class='command'>
                  UNSUBSCRIBE
                  <span class='args'>
                    [channel [channel ...]]
                  </span>
                </span>
                <span class='summary'>Stop listening for messages posted to the given channels</span>
              </a>
            </li>
            <li data-group='transactions' data-name='unwatch'>
              <a href='/commands/unwatch'>
                <span class='command'>
                  UNWATCH
                  <span class='args'>
                  </span>
                </span>
                <span class='summary'>Forget about all watched keys</span>
              </a>
            </li>
            <li data-group='transactions' data-name='watch'>
              <a href='/commands/watch'>
                <span class='command'>
                  WATCH
                  <span class='args'>
                    key [key ...]
                  </span>
                </span>
                <span class='summary'>Watch the given keys to determine execution of the MULTI/EXEC block</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zadd'>
              <a href='/commands/zadd'>
                <span class='command'>
                  ZADD
                  <span class='args'>
                    key
                    score member [score member ...]
                  </span>
                </span>
                <span class='summary'>Add one or more members to a sorted set, or update its score if it already exists</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zcard'>
              <a href='/commands/zcard'>
                <span class='command'>
                  ZCARD
                  <span class='args'>
                    key
                  </span>
                </span>
                <span class='summary'>Get the number of members in a sorted set</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zcount'>
              <a href='/commands/zcount'>
                <span class='command'>
                  ZCOUNT
                  <span class='args'>
                    key
                    min
                    max
                  </span>
                </span>
                <span class='summary'>Count the members in a sorted set with scores within the given values</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zincrby'>
              <a href='/commands/zincrby'>
                <span class='command'>
                  ZINCRBY
                  <span class='args'>
                    key
                    increment
                    member
                  </span>
                </span>
                <span class='summary'>Increment the score of a member in a sorted set</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zinterstore'>
              <a href='/commands/zinterstore'>
                <span class='command'>
                  ZINTERSTORE
                  <span class='args'>
                    destination
                    numkeys
                    key [key ...]
                    [WEIGHTS weight [weight ...]]
                    [AGGREGATE SUM|MIN|MAX]
                  </span>
                </span>
                <span class='summary'>Intersect multiple sorted sets and store the resulting sorted set in a new key</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zlexcount'>
              <a href='/commands/zlexcount'>
                <span class='command'>
                  ZLEXCOUNT
                  <span class='args'>
                    key
                    min
                    max
                  </span>
                </span>
                <span class='summary'>Count the number of members in a sorted set between a given lexicographical range</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrange'>
              <a href='/commands/zrange'>
                <span class='command'>
                  ZRANGE
                  <span class='args'>
                    key
                    start
                    stop
                    [WITHSCORES]
                  </span>
                </span>
                <span class='summary'>Return a range of members in a sorted set, by index</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrangebylex'>
              <a href='/commands/zrangebylex'>
                <span class='command'>
                  ZRANGEBYLEX
                  <span class='args'>
                    key
                    min
                    max
                    [LIMIT offset count]
                  </span>
                </span>
                <span class='summary'>Return a range of members in a sorted set, by lexicographical range</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrevrangebylex'>
              <a href='/commands/zrevrangebylex'>
                <span class='command'>
                  ZREVRANGEBYLEX
                  <span class='args'>
                    key
                    max
                    min
                    [LIMIT offset count]
                  </span>
                </span>
                <span class='summary'>Return a range of members in a sorted set, by lexicographical range, ordered from higher to lower strings.</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrangebyscore'>
              <a href='/commands/zrangebyscore'>
                <span class='command'>
                  ZRANGEBYSCORE
                  <span class='args'>
                    key
                    min
                    max
                    [WITHSCORES]
                    [LIMIT offset count]
                  </span>
                </span>
                <span class='summary'>Return a range of members in a sorted set, by score</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrank'>
              <a href='/commands/zrank'>
                <span class='command'>
                  ZRANK
                  <span class='args'>
                    key
                    member
                  </span>
                </span>
                <span class='summary'>Determine the index of a member in a sorted set</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrem'>
              <a href='/commands/zrem'>
                <span class='command'>
                  ZREM
                  <span class='args'>
                    key
                    member [member ...]
                  </span>
                </span>
                <span class='summary'>Remove one or more members from a sorted set</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zremrangebylex'>
              <a href='/commands/zremrangebylex'>
                <span class='command'>
                  ZREMRANGEBYLEX
                  <span class='args'>
                    key
                    min
                    max
                  </span>
                </span>
                <span class='summary'>Remove all members in a sorted set between the given lexicographical range</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zremrangebyrank'>
              <a href='/commands/zremrangebyrank'>
                <span class='command'>
                  ZREMRANGEBYRANK
                  <span class='args'>
                    key
                    start
                    stop
                  </span>
                </span>
                <span class='summary'>Remove all members in a sorted set within the given indexes</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zremrangebyscore'>
              <a href='/commands/zremrangebyscore'>
                <span class='command'>
                  ZREMRANGEBYSCORE
                  <span class='args'>
                    key
                    min
                    max
                  </span>
                </span>
                <span class='summary'>Remove all members in a sorted set within the given scores</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrevrange'>
              <a href='/commands/zrevrange'>
                <span class='command'>
                  ZREVRANGE
                  <span class='args'>
                    key
                    start
                    stop
                    [WITHSCORES]
                  </span>
                </span>
                <span class='summary'>Return a range of members in a sorted set, by index, with scores ordered from high to low</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrevrangebyscore'>
              <a href='/commands/zrevrangebyscore'>
                <span class='command'>
                  ZREVRANGEBYSCORE
                  <span class='args'>
                    key
                    max
                    min
                    [WITHSCORES]
                    [LIMIT offset count]
                  </span>
                </span>
                <span class='summary'>Return a range of members in a sorted set, by score, with scores ordered from high to low</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zrevrank'>
              <a href='/commands/zrevrank'>
                <span class='command'>
                  ZREVRANK
                  <span class='args'>
                    key
                    member
                  </span>
                </span>
                <span class='summary'>Determine the index of a member in a sorted set, with scores ordered from high to low</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zscore'>
              <a href='/commands/zscore'>
                <span class='command'>
                  ZSCORE
                  <span class='args'>
                    key
                    member
                  </span>
                </span>
                <span class='summary'>Get the score associated with the given member in a sorted set</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zunionstore'>
              <a href='/commands/zunionstore'>
                <span class='command'>
                  ZUNIONSTORE
                  <span class='args'>
                    destination
                    numkeys
                    key [key ...]
                    [WEIGHTS weight [weight ...]]
                    [AGGREGATE SUM|MIN|MAX]
                  </span>
                </span>
                <span class='summary'>Add multiple sorted sets and store the resulting sorted set in a new key</span>
              </a>
            </li>
            <li data-group='generic' data-name='scan'>
              <a href='/commands/scan'>
                <span class='command'>
                  SCAN
                  <span class='args'>
                    cursor
                    [MATCH pattern]
                    [COUNT count]
                  </span>
                </span>
                <span class='summary'>Incrementally iterate the keys space</span>
              </a>
            </li>
            <li data-group='set' data-name='sscan'>
              <a href='/commands/sscan'>
                <span class='command'>
                  SSCAN
                  <span class='args'>
                    key
                    cursor
                    [MATCH pattern]
                    [COUNT count]
                  </span>
                </span>
                <span class='summary'>Incrementally iterate Set elements</span>
              </a>
            </li>
            <li data-group='hash' data-name='hscan'>
              <a href='/commands/hscan'>
                <span class='command'>
                  HSCAN
                  <span class='args'>
                    key
                    cursor
                    [MATCH pattern]
                    [COUNT count]
                  </span>
                </span>
                <span class='summary'>Incrementally iterate hash fields and associated values</span>
              </a>
            </li>
            <li data-group='sorted_set' data-name='zscan'>
              <a href='/commands/zscan'>
                <span class='command'>
                  ZSCAN
                  <span class='args'>
                    key
                    cursor
                    [MATCH pattern]
                    [COUNT count]
                  </span>
                </span>
                <span class='summary'>Incrementally iterate sorted sets elements and associated scores</span>
              </a>
            </li>
          </ul>
        </div>
      </section>
      <footer class='site-footer'>
        <div class='container'>
          <p>
            This website is
            <a href="https://github.com/antirez/redis-io">open source software</a>.
            See all <a href="/topics/sponsors">credits</a>.
          </p>
          <div class='sponsor'>
            Sponsored by
            <a href='http://www.pivotal.io/big-data/redis'>
              <img alt='Redis Support' height='25' src='/images/pivotal.png' title='Redis Sponsor' width='99' />
            </a>
          </div>
        </div>
      </footer>
    </div>
  </body>
</html>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js'></script>
<script src='/slideout.js?1426205838'></script>
<script src='/app.js?1426611451'></script>
<script type="text/javascript">
lloogg_clientid = "20bb9c026e";
</script>
<script type="text/javascript" src="http://demo.lloogg.com/l.js?c=20bb9c026e">
</script>
